﻿
using System;
using System.ComponentModel;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using KDS.Mes.Mes.Workshops;
using KDS.Mes.Mes.Factorys;

namespace KDS.Mes.Mes.Workshops.Dtos
{
	/// <summary>
    /// 车间信息列表Dto
    /// </summary>
    [AutoMapFrom(typeof(Workshop))]
    public class WorkshopListDto : EntityDto<int>
    {
        public int FactoryId { get; set; }

        [DisplayName("所属工厂")]
        public Factory Factory { get; set; }

        public string FactoryName { get; set; }

        /// <summary>
        /// 车间名称
        /// </summary>
        [DisplayName("车间名称")]
        public      string WorkshopName { get; set; }
        /// <summary>
        /// 车间代码
        /// </summary>
        [DisplayName("车间代码")]
        public      string WorkshopCode { get; set; }
        /// <summary>
        /// 最后编辑时间
        /// </summary>
        [DisplayName("最后编辑时间")]
        public      DateTime? LastModificationTime { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [DisplayName("创建时间")]
        public      DateTime CreationTime { get; set; }
    }
}
